﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OFB.Domain;
using OFB.DAL;
using OFB.BLL.ViewModel;

namespace OFB.BLL.Context
{
    public class TraineeContext : CommonContext
    {
        public DataQueryDAL<Admin> Admin { get; set; }
        public DataQueryDAL<Trainee> Trainee { get; set; }
        public DataQueryDAL<ViewProfileViewModel> ViewProfile { get; set; }
        public DataQueryDAL<FunnyStory> FunnyStory { get; set; }
        public DataQueryDAL<ListFB> ListFb { get; set; }
        public DataQueryDAL<FeedbackTopicViewModel> FeedbackTopic { get; set; }


        public TraineeContext()
        {
            Admin = new DataQueryDAL<Admin>(this.connectionStringName);
            Trainee = new DataQueryDAL<Trainee>(this.connectionStringName);
            ViewProfile = new DataQueryDAL<ViewProfileViewModel>(this.connectionStringName);
            FunnyStory = new DataQueryDAL<FunnyStory>(this.connectionStringName);
            ListFb = new DataQueryDAL<ListFB>(this.connectionStringName);
            FeedbackTopic = new DataQueryDAL<FeedbackTopicViewModel>(this.connectionStringName);
        }
    }
}
